package com.xyz.rok.tools.mapper;

import com.xyz.rok.tools.model.Title;

public interface TitleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Title record);

    int insertSelective(Title record);

    Title selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Title record);

    int updateByPrimaryKey(Title record);

    Title selectByServerId(Integer serverId);

    Title selectBySerialNumber(String serialNumber);

    Title selectTitleByServerId(Integer serverId);

    void updateTitleByServerId(Title record);
}